import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import VueSocketIO from 'vue-socket.io'
import SocketIO from 'socket.io-client'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false

Vue.use(new VueSocketIO({
	debug: false,
	connection: SocketIO('ws://127.0.0.1:4000'),
	vuex: {
		store
	}
}));

Vue.use(ElementUI);
new Vue({
	router,
	store,
	render: (h) => h(App),
}).$mount("#app");
